package com.bbm.bbmanage.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : lyj
 * @Timer : 2023/12/7
 * @Description :
 */
@Data
public class HouseVo {
    private Integer id;

    private String title;

    private String img;

    private String des;

    private String address;

    private Integer rest;

    // 最多入住人数
    private Integer maxAdu;

    private Integer userId;
    private String username;
    private String avatar;
    private String nickName;
    private Integer categoryId;

    private Double price;

    private String stars;

    private String notice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
